<?php
/*@var $form yii\widgets\ActiveForm */
use yii\widgets\ActiveForm;
?>
<?php $form=ActiveForm::begin([
	'fieldConfig'=>[
		'template'=>'{label}<div class="col-sm-9">{input}<span class="help-inline col-xs-12 col-sm-7">{hint}{error}</span></div>',
		'labelOptions'=>['class'=>'col-sm-3 control-label no-padding-right'],
		'inputOptions'=>['class'=>'col-xs-9 col-sm-5'],
		'errorOptions'=>['class'=>'middle'],
	],
	'options'=>['class'=>'form-horizontal'],
])?>
<?=$form->field($model, 'username')->textInput() ?>
<?=$form->field($model, 'Pwd')->passwordInput() ?>
<?=$form->field($model, 'RePwd')->passwordInput() ?>
<?=$form->field($model, 'Email')->textInput() ?>
<?=$form->field($model, 'lName')->textInput() ?>
<?=$form->field($model, 'Remark')->textarea() ?>
<div class="clearfix form-actions">
	<div class="col-md-offset-3 col-md-9">
		<button class="btn btn-info" type="submit">
			<i class="ace-icon fa fa-check bigger-110"></i>
			提交
		</button>

		&nbsp; &nbsp; &nbsp;
		<button class="btn" type="reset">
			<i class="ace-icon fa fa-undo bigger-110"></i>
			重置
		</button>
	</div>
</div>
<?php ActiveForm::end();?>